#pragma once

struct Item
{
	Item(sf::Sprite& sprite, sf::Vector2f targetPos);
	sf::Sprite sprite;
	sf::Vector2f startPos;
	sf::Vector2f targetPos;
	float timer;
	bool finished;
};

class Inventory;

extern Inventory gInventory;

class Inventory
{
public:
	void Add(sf::Sprite& collectedItem);
	void Step();
	void Draw(sf::RenderWindow& window);
	std::vector<Item> items;
};